package com.cloudwise.gproject.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Business)实体类
 *
 * @author makejava
 * @since 2021-03-22 09:10:12
 */
@Data
public class Business implements Serializable {
    private static final long serialVersionUID = -21775674885889802L;
    /**
     * 主键
     */
    private Integer businessId;
    /**
     * 申请号（专利局反馈）
     */
    private Integer applicantCode;
    /**
     * 页面显示系统时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applicantTime;
    /**
     * 字典下拉
     */
    private String businessTopType;
    /**
     * 业务名称，手输
     */
    private String businessName;
    /**
     * 字典下拉
     */
    private String trademarkType;
    /**
     * 字典下拉
     */
    private String businessSecondType;
    /**
     * 成交价格
     */
    private String price;
    /**
     * 代理费
     */
    private String proxyMoney;
    /**
     * 关联文件上传表，即文件ID
     */
    private Integer uploadId;

    private String createBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String updateBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private Integer customId;

    private String remark;
    /**
     * 原文件名
     */
    private String sourceName;
    /**
     * 服务器文件名
     */
    private String destinationName;
    /**
     * 进度progressType
     */
    private String status;
    /**
     * 申请人
     */
    private String customName;

    private String startDate;

    private String endDate;

}
